Posted by SuperJason // Fri, May 19, 2006 2:48 PM
Hopefully I can describe this so that it's easy to understand...
I'm trying to write a .NET tray application that a user will install. This tray application will periodically poll a remote web server. The remote web server needs to be able to use the connection of the machine the tray application is on.
One way to do this is to have the server queue up a list of requests to be made, and the tray app asks for the list, makes the request, and then reports back the results.
Is there a better way to do it? I would like to be able to somehow hand over the Internet connection from the tray app to the server, so that it can act like a proxy.
The reason I'm doing this is because the server does most of the work, but the client is supposed to make the requests. Some of the requests depend on previous requests, so it would be easiest if I could just get the connection somehow, and use it however I want, and then disconnect.
Thanks for any crazy ideas anyone can come up with!
|